<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .parent{
            background-color: salmon;
            margin: 10px auto;
            color: #fff;
            font-size: 22px;
            width: 200px;
            height: 100px;
            text-align: center;
            line-height: 100px;
            position: relative;
        }
        .parent::after{
            content: "";
            position: absolute;
            top: 0;right: -51px;bottom: 0;left: -51px;
            background: salmon;
            z-index: -1;
            transform: skew(45deg);
        }
    </style>
</head>
<body>
    <div class="parent">
        倾斜
    </div>
</body>
</html>